WeDevs\Dokan\Commission C

Total Complexity 108
Dependencies 5
Dependents 1
Total lines 905
Lines of code 394
Logical lines of code 235
Comment lines 374
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
prepare_for_calculation()
B
37 19 73
get_earning_by_order()
A
41 14 49
calculate_gateway_fee()
S
45 5 43
calculate_commission()
S
57 5 19
get_category_wise_rate()
S
63 6 9
get_earning_by_product()
S
58 5 13
get_earning_from_order_table()
S
55 4 20
get_processing_fee()
S
62 4 11
get_all_order_to_be_processed()
S
56 3 20
validate_rate()
S
69 4 6
hide_extra_data()
S
64 3 9
get_total_shipping_tax_refunded()
S
64 3 9
get_category_wise_additional_fee()
S
64 3 9
get_shipping_tax_fee_recipient()
S
61 2 12
validate_product_id()
S
73 2 5
get_category_wise_type()
S
70 2 5
get_tax_fee_recipient()
S
63 2 10
get_shipping_fee_recipient()
S
63 2 10
get_category_wise_earning()
S
70 2 6
get_product_wise_earning()
S
70 2 6
get_vendor_wise_rate()
S
78 1 3
get_vendor_wise_additional_fee()
S
78 1 3
set_order_id()
S
81 1 3
get_order_id()
S
82 1 3
set_order_qunatity()
S
81 1 3
get_global_additional_fee()
S
78 1 3
get_product_wise_additional_fee()
S
78 1 3
get_product_wise_rate()
S
78 1 3
get_vendor_wise_earning()
S
79 1 3
get_global_earning()
S
79 1 3
get_order_qunatity()
S
82 1 3
get_product_wise_type()
S
78 1 3
get_vendor_wise_type()
S
79 1 3
get_global_type()
S
79 1 3
get_global_rate()
S
78 1 3
__construct()
S
72 1 5